// 公共接口
import request from "@/utils/request";
// 字典列表
export function getDictTypetApi(dictType) {
  return request({
    url: `/applet/api/common/type/${dictType}`,
    method: "GET",
  });
}

// 查询城市--区域列表
export function getCityListtApi(data) {
  return request({
    url: "/applet/api/common/getCityList",
    method: "GET",
    data,
  });
}
// 获取通知公告
export function getNoticListApi(data) {
  return request({
    url: "/applet/api/home/getNoticList",
    method: "GET",
    data,
  });
}
// 获取通知公告未读数量
export function getNoticUnReadCountApi(data) {
  return request({
    url: "/applet/api/home/getNoticUnReadCount",
    method: "GET",
    data,
  });
}
// 更改阅读状态
export function updateReadStatusApi(data) {
  return request({
    url: "/applet/api/home/updateReadStatus",
    method: "POST",
    data,
  });
}
